package org.agony2d.gpu.core.animation {
	import org.agony2d.core.agony_internal;
	
	use namespace agony_internal;
	
final public class ActionAA {
	
    public function ActionAA( clip:FrameClip, totalRepeat:int ) {
		m_clip = clip
		m_totalRepeat = totalRepeat
    }
	
	public function get speedRatio() : Number {
		return m_speedRatio
	}
    
	public function set speedRatio( v:Number ) : void {
		m_speedRatio = (v < 0 || isNaN(v)) ? 0 : v
	}
	
	public function get callback() :  Function {
		return m_callback
	}
	
	public function set callback( v:Function ) : void {
		m_callback = v
	}
	
	agony_internal var m_speedRatio:Number = 1
	agony_internal var m_totalRepeat:int
	agony_internal var m_clip:FrameClip
	agony_internal var m_callback:Function
}
}